BeforeSendUploadDataCallback

The callback that is invoked before the upload data is sent to the web server.

The callback can be used to override the upload data before it is sent to the web server.

Use one of the override() methods to modify the upload data.

Use the proceed method if you do not need to modify the upload data.

If the callback throws an exception, the proceed method will be invoked.

Types

Link copied to clipboard
interface Params
The parameters of the BeforeSendUploadDataCallback.
Link copied to clipboard
interface Response

Functions

Link copied to clipboard
abstract fun on(params: P): R
Invoked when the callback needs a response of type R that may be determined based on the provided callback parameters.